import { createApp } from 'vue'
import App from './App.vue'
import "@/assets/css/index.css"
import router from './router'
import '@/router/beforeEach.js'
import { createPinia } from 'pinia';
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { https } from './api'
import DataVVue3 from '@kjgl77/datav-vue3'
import 'default-passive-events'
const app = createApp(App)
app.config.globalProperties.$https = https

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(router)
app.use(createPinia());
app.use(ElementPlus)
app.use(DataVVue3);
app.mount('#app')


